fix(desktop): allow cross-machine agent mentions#2514
Open
Ansonhkg wants to merge 2 commits into
Open
Conversation
Ansonhkg
marked this pull request as ready for review
July 23, 2026 13:09
Signed-off-by: ansonhkg <ansonox@gmail.com>
Signed-off-by: ansonhkg <ansonox@gmail.com>
Ansonhkg
force-pushed
the
codex/fix-cross-machine-agent-mentions
branch
from
July 23, 2026 13:13
b6f6407 to
8e85aa1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@autocomplete when they are members of the current channelrespond-topolicy check and keep non-member remote agents hiddenptag without trying to start the remote process locallyRoot cause
The mention pipeline correctly identified shared relay agents as invocable, but then applied a local-managed-agent filter before the policy-aware eligibility check. That removed every agent not managed by the current desktop, including valid members running on another machine. Manually typing the name did not restore the missing pubkey tag, so the remote ACP process never received the mention.
User impact
Users connected to the same community can now discover and invoke an in-channel agent from another machine, subject to that agent's existing
respond-topolicy.Manual test
just desktop-standalone.@autocomplete and responded after selection.Validation
just cip-tag routing, and no local process startunwrap()orunsafecodejust testnot run; this is a desktop-only change and does not modify relay, database, or auth behaviorFixes #2508